function loadPie(data, mark, place) {
	if(data==""){
		data = "<slice title='no data'>1</slice>";
	}
	var so = new SWFObject("/ampie/ampie.swf", "ampie", "860", "400", "8",
			"#FFFFFF");
	so.addVariable("path", "/ampie/");
	so.addVariable("settings_file",
			encodeURIComponent("../ampie/ampie_settings.xml"));
	var fdata = "<?xml version='1.0' encoding='UTF-8'?><pie>" + data + "</pie>";
	so.addVariable("chart_data", fdata);
	so.addParam("wmode", "transparent");
	so.write(place);
}